package com.ly.heart.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.KingBomDetailEntity;

/**
 * BOM清单子项明细Mapper接口
 * @author wutao
 * @date 2024-07-26
 */
public interface KingBomDetailMapper extends BaseMapper<KingBomDetailEntity> {
    /**
     * 查询BOM清单子项明细
     * @param id BOM清单子项明细ID
     * @return BOM清单子项明细
     */
    KingBomDetailEntity selectKingBomDetailEntityById (String id);

    /**
     * 查询BOM清单子项明细列表
     * @param kingBomDetailEntity BOM清单子项明细
     * @return BOM清单子项明细集合
     */
    List<KingBomDetailEntity> selectKingBomDetailEntityList (KingBomDetailEntity kingBomDetailEntity);

    /**
     * 新增BOM清单子项明细
     * @param kingBomDetailEntity BOM清单子项明细
     * @return 结果
     */
    int insertKingBomDetailEntity (KingBomDetailEntity kingBomDetailEntity);

    /**
     * 修改BOM清单子项明细
     * @param kingBomDetailEntity BOM清单子项明细
     * @return 结果
     */
    int updateKingBomDetailEntity (KingBomDetailEntity kingBomDetailEntity);

    /**
     * 删除BOM清单子项明细
     * @param id BOM清单子项明细ID
     * @return 结果
     */
    int deleteKingBomDetailEntityById (String id);

    /**
     * 批量删除BOM清单子项明细
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteKingBomDetailEntityByIds (String[] ids);
}
